package cn.cmkj.auction.data.http;

import org.json.JSONObject;

import java.io.Serializable;

/**
 * Created by cunguoyao on 2018/1/19.
 */

public class Payment implements Serializable {

    public String payout_type;
    public String payment_name;
    public String payment_id;

    public static Payment parseFromJson(JSONObject json) {
        Payment bean = new Payment();
        bean.payout_type = json.optString("payout_type", "");
        bean.payment_name = json.optString("payment_name", "");
        bean.payment_id = json.optString("payment_id", "");
        return bean;
    }
}
